<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>5行2列表格</title>
<style>
table {border-collapse: collapse;}
td {border: 1px solid black; padding: 10px; background-color: green; color: black;}
</style>
</head>
<body>
    <table>
        <% for (int i = 0; i < 5; i++) { %>
            <tr>
                <td>循环值：</td>
                <td><%= i %></td>
            </tr>
        <% } %>
    </table>
</body>
</html>